package it.slkfamrserver.control;

import java.io.IOException;

import it.slkfarmserver.servers.RegistrationServer;

public class Main 
{
	private static final String DB_ADDRESS = "jdbc:mysql://localhost:3306/slkfarm";
	private static final String DB_USER = "slkfarm";
	private static final String DB_PASSWORD = "password";
	private static final int SIGNUP_PORT = 4446;
	private static RegistrationServer regServer;
	
	public static void main(String[] args) throws IOException
	{
		regServer = new RegistrationServer(SIGNUP_PORT, DB_ADDRESS, DB_USER, DB_PASSWORD);
		new Thread(regServer).start();
	}
}
